package com.jandar.spider.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author gaochenyang
 * @since 2021-04-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("punish_data")
public class PunishEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 行政处罚决定书文号
     */
    private String punishNumber;

    /**
     * 处罚日期
     */
    private String punishTime;

    /**
     * 地区
     */
    private String area;

    /**
     * 案件名称
     */
    private String caseTitle;

    /**
     * 被处罚对象
     */
    private String penaltyObject;

    /**
     * 详细页
     */
    private String detailPageUrl;

    /**
     * html页面详情
     */
    private String htmlData;

    /**
     * 爬取时间
     */
    private LocalDateTime spiderTime;

    private String department;

    private String content;


}
